docs: public void updateServiceInstance(ProvidedServiceInstance instance, final RegistrationCallback cb, Object context){
          ProtocolHeader header = new ProtocolHeader();
          header.setType(ProtocolType.UpdateServiceInstance);
  
          UpdateServiceInstanceProtocol p = new UpdateServiceInstanceProtocol(instance);
          ProtocolCallback pcb = new ProtocolCallback(){
  
              @Override
              public void call(boolean result, Response response,
                      ErrorCode error, Object ctx) {
                  cb.call(result, error, ctx);
              }
  
          };
          connection.submitCallbackRequest(header, p, pcb, context);
      }