update network class