add cache wiping into updater-script