Updated cache invalidation