Add cache invalidation on save.