add upgrade-all command, fixes #7