update pubsub