Update network flow code.