clear cache on install, uninstall and update