Fix problems with updating users