add agentUpgrade command