change conection settings for mongoDB