update class userProfile