update example code to send data via OSC