Changed mongodb connection