update agent command