Update network code