Create an endpoint for updating user attributes