updated the user model.