update the cache at the end even if EMPTYCACHE=true