update network definition