Adding the update endpoint for the user