updates user attributes