changing all the gradients