update the network part