pubsub add publish stub