Fixed crash issue with updating user.