added cleanup in cask_upgrade