code: public UpdateResponse update(UpdateRequest request) throws IOException {
          return new UpdateResponse(client.doPost(request.toUrl(), request.getBody()));
      }
docs: Update the specified object.
  
  @param request the {@link UpdateRequest} specifying the object to be updated.
  @return the resulting {@link UpdateResponse}
  @throws IOException if an error occurs during the update.