update the cache policy