Update network and weight to use new Node style.