Adding User.update and tests