protected function _updateTags($tags, $saveStrategy)
    {
        $table = TableRegistry::getTableLocator()->get($this->source());
        $behavior = $table->behaviors()->Tag;
        $assoc = $table->getAssociation($behavior->getConfig('tagsAlias'));
        $resetStrategy = $assoc->getSaveStrategy();
        $assoc->setSaveStrategy($saveStrategy);
        $table->patchEntity($this, [$assoc->getProperty() => $tags]);
        $result = $table->save($this);
        $assoc->setSaveStrategy($resetStrategy);

        return $result;
    }