updated the user profile