update network config