Update base.py

pass callbacks into publish_task