Added cache invalidation