edit MONGO connection method