Update creation of the pubsub server to reflect new changes to pubsub