added ability to update user attributes