Update cache file