add upgrade_tool