update to new mint api
bundle older pubsub because their constant API changes are crazy