Add a -all option to upgrade.
close #678