udpate user profile method