Deforming the metric on complete Riemannian manifolds