public function saveNodeValue(NodePath $nodePath, string $property, $value)
    {
        try {
            $this->data = $this->storeValue($nodePath, $this->data, $property, $value);
        } catch (InconsistentValueException $e) {
            if ($property == 'nodeType') {
                $node = $this->getNode($nodePath);
                $this->handleUpgrade($node, $nodePath, $value);
            } else {
                throw $e;
            }
        }
    }