updated pubsub