Upgrade router template by accountName and domainId instead of accountId