update sharejs mongo connection