changing connection to Mongo