add patch method to user model