Add submodule upgrading to upgrade tool