clear cache when records are edited