fixed update profile bug when user registered using facebook.