private function updateCategoryIsAnchorAttribute()
{
$this->eavSetup->updateAttribute(Category::ENTITY, 'is_anchor', 'frontend_input', 'hidden');
$this->eavSetup->updateAttribute(Category::ENTITY, 'is_anchor', 'source_model', null);
$this->updateAttributeDefaultValue(Category::ENTITY, 'is_anchor', 1, [\Magento\Catalog\Model\Category::TREE_ROOT_ID]);
}