update the demo for adding the receive example