update the network diagram