Adopt new mongodb config