Added logic to ensure that articles update category caches when they are updated