add agent upgrade command