Ricci deformation of the metric on a Riemannian manifold