Deformations of metrics and associated harmonic maps