switch db settings to mongo