edit the publish_subscribe.py