changed mongoose connection call