refactored network updates
refactored agent wires & statecharts