Add cahedFiles argument to updateCache