Update the network