add patch method for user model flow