change input to udp