fixed update profile bugs