Update mongo connection