change mongo connection