changed mongodb connection