update Agent (add updateTarget)