update mongodb connect syntax