updateUser rest method fixed