Fix update user bug.