updating to user model