Add middleware. POST can be used to update a name.