fix updating user