updating pubsub