update cache file to relative paths