Fixed issue with updating user profile