Update network.lua

use table