update agentsservice