fix bug releated to update user profile