fixed update profile bug