Flush caches on DB changes