Reset cache after database updates