modify the cache