Recent solar photospheric abundance analyses have led to a significant reduction of the metal abundances compared to the previous determinations. The solar models computed with standard opacities and diffusion processes using these new abundances give poor agreement with helioseismic inversions for the sound-speed profile, the surface helium abundance, and the convective zone depth. We attempt to obtain a good agreement between helioseismic inversions and solar models which present the "old" mixture in the interior and new chemical composition in the convective zone. To reach this result, we assume an undermetallic accretion at the beginning of the main sequence. We compute solar models with the Toulouse-Geneva Evolution Code, in which we simulate an undermetallic accretion in the early stages of the main sequence, in order to obtain new mixture in the outer convective zone. We compare the sound-speed profile, the convective zone depth, and the surface helium abundance with those deduced from helioseismology. The model with accretion but without any mixing process inside is in better agreement with helioseismology than the solar model with the new abundances throughout. There is, however, a spike under the convective zone which reaches 3.4%. Furthermore, the convective zone depth and the surface helium abundance are too low. Introducing undershooting below the convective zone allows us to recover the good convective zone radius and the addition of rotation-induced mixing and tachocline allows us to reconcile the surface helium abundance. But in any case the agreement of the sound-speed profile with helioseismic inference is worse than obtained with the old abundances.