package cleanup for upgraders