protected function updateParentKey(Model $currentParent)
    {
        $parentModel = $this->relation->getParent();

        $keyName = $parentModel->getKeyName();

        $parentModel->$keyName = $currentParent->$keyName;
    }