Update publisher.py