fixed updaet profile bug