update cache-dir