update network flow