changing hub db driver to mongo