refactor udp tracker