private function update($model, $operation)
    {
        $countCache = new CountCache($model);
        $countCache->apply(function ($config) use ($countCache, $model, $operation) {
            $countCache->updateCacheRecord($config, $operation, 1, $model->{$config['foreignKey']});
        });
    }