- improvement to clear the caches when relation is removed