update network policy