update to user model