Edit profile update

Defined update method for users controller.