updated the user model