fixed update user bug