docs: protected void updateModel(final OperationContext context, final ModelNode operation) throws OperationFailedException {
          // verify that the resource exist before removing it
          context.readResource(PathAddress.EMPTY_ADDRESS, false);
          Resource resource = context.removeResource(PathAddress.EMPTY_ADDRESS);
          recordCapabilitiesAndRequirements(context, operation, resource);
      }