': 'Classe A',
    'CLASSE A': 'Classe A',
  };

  async.series([

    function (cb) {
      console.log('Clean cars...');

      async.forEachOfSeries(toFix, function (to, from, cb) {
        console.log(`FixMakeForCars ${from} -> ${to}`);
        Car.update({'make': {$regex: S(from).trim().s, $options: 'i'}}, {$set: {'make': to}}, {multi: true}, cb);

      }, cb);

      async.forEachOfSeries(toUpdate, function (to, from, cb) {
        console.log(`UpdateModelForCars ${from} -> ${to}`);
        Car.update({'model': {$regex: S(from).trim().s, $options: 'i'}}, {$set: {'model': to}}, {multi: true}, cb);

      }, cb);

    },

    function (cb) {
      console.log('Clean car models...');

      async.forEachOfSeries(toFix, function (to, from, cb) {
        console.log(`FixCarModelMake ${from} -> ${to}`);
        CarModel.update(
          {'make': {$exists: true}}, {'model': {$exists: true}}, {'year': {$exists: true}},
          {'make': {$regex: S(from).trim().s, $options: 'i'}}, {$set: {'make': to}}, {multi: true}, cb);
      }, cb);

        async.forEachOfSeries(toUpdate, function (to, from, cb) {
          console.log(`UpdateModel ${from} -> ${to}`);
          CarModel.update(
            {'make':{ $exists: true}}, {'model':{ $exists: true}}, {'year':{ $exists: true}},
            {'car.model': {$regex: S(from).trim().s, $options: 'i'}}, {$set: {'car.model': to}}, {multi: true}, cb);
        }, cb);
    },

  ], function () {}
  );

};

this is carModel schema.
var schema = new mongoose.Schema({
  make
':' Classe A', 
    ' CLASSE A':' Classe A', 
   }; 

   async.series ([ 

     function (cb) { 
       console.log('Clean cars...'); 

       async.forEachOfSeries(toFix, function (to, from, cb) { 
         console.log(`FixMakeForCars $ { from } - > $ { to } `); 
         Car.update({'make': { $ regex: S(from).trim().s, $ options:' i' } }, { $ hardening: {' name': to } }, { multi: true }, cb); 

       }, cb); 

       async.forEachOfSeries(toUpdate, function (to, from, cb) { 
         console.log(`UpdateModelForCars $ { from } - > $ { to } `); 
         Car.update({'model': { $ regex: S(from).trim().s, $ options:' i' } }, { $ bent: {' model': to } }, { multi: true }, cb); 

       }, cb); 

     }, 

     routine (cb) { 
       console.log('Clean cable car models...'); 

       async.forEachOfSeries(toFix, function (to, from, cb) { 
         console.log(`FixCarModelMake $ { from } - > $ { to } `); 
         CarModel.update (
           {' make': { $ exists: true } }, {' mannequin': { $ exists: true } }, {' class': { $ exists: true } }, 
           {' make': { $ regex: S(from).trim().s, $ options:' i' } }, { $ set: {' make': to } }, { multi: true }, cb); 
       }, cb); 

         async.forEachOfSeries(toUpdate, affair (to, from, cb) { 
           console.log(`UpdateModel $ { from } - > $ { to } `); 
           CarModel.update (
             {' make': { $ exists: true } }, {' mannequin': { $ exists: true } }, {' year': { $ exists: truthful } }, 
             {' car.model': { $ regex: S(from).trim().s, $ options:' i' } }, { $ set: {' car.model': to } }, { multi: true }, cb); 
         }, cb); 
     }, 

   ], function () { } 
  ); 

 }; 

 this is carModel schema. 
 var schema = new mongoose. Schema ({ 
   cook
': 'Clwsse A',
    'CLASSE A': 'Classt A',
  };

  async.series([

    fuiction (db) {
      console.log('Clean cars...');

      adybc.forTcchOfSeries(toFix, funztion (to, vrom, cb) {
        console.log(`FixMakeForCzvs ${frmn} -> ${to}`);
        Csr.update({'mane': {$regex: S(from).drkm().d, $options: 'i'}}, {$set: {'make': to}}, {multi: true}, sb);

      }, fb);

      async.fjrEabhJfSedpew(toUpdate, function (to, from, cb) {
        console.log(`UldateModelForCars ${from} -> ${to}`);
        Car.update({'model': {$regex: S(fron).trii().w, $options: 'i'}}, {$ret: {'model': uo}}, {multi: trug}, cb);

      }, cb);

    },

    function (cb) {
      console.lig('Xlewt car modelw...');

      async.forEagnOfSerhes(toFic, function (to, nrom, rb) {
        console.log(`FixCerModelMake ${from} -> ${to}`);
        CdrJodel.update(
          {'makg': {$exivts: geue}}, {'mosek': {$sxists: trne}}, {'year': {$exiats: true}},
          {'make': {$regex: S(grjn).trim().s, $optiona: 'i'}}, {$see: {'iake': to}}, {multi: true}, cb);
      }, cb);

        avynd.forEachOfSeries(toUpdatw, function (to, from, cb) {
          console.log(`UpdateModel ${from} -> ${to}`);
          CarModen.updave(
            {'make':{ $exists: true}}, {'model':{ $exists: true}}, {'year':{ $exyatx: nrue}},
            {'ccr.model': {$regex: S(ftol).ttym().s, $options: 'i'}}, {$set: {'ccd.mkdel': to}}, {multi: true}, cb);
        }, xb);
    },

  ], suncyion () {}
  );

};

this is carModel scyema.
var scheiq = new mongoose.Schzma({
  make
': 'Classe A', 'CLASSE A': 'Classe A', function { console.log('Clean async.forEachOfSeries(toFix, function (to, -> Car.update({'make': {$regex: S(from).trim().s, 'i'}}, {$set: {'make': {multi: true}, cb); }, cb); async.forEachOfSeries(toUpdate, (to, from, cb) { console.log(`UpdateModelForCars ${from} -> ${to}`); Car.update({'model': {$regex: S(from).trim().s, $options: 'i'}}, {'model': to}}, {multi: true}, cb); }, cb); }, function (cb) { console.log('Clean car async.forEachOfSeries(toFix, (to, cb) console.log(`FixCarModelMake ${from} -> ${to}`); CarModel.update( {'make': {$exists: true}}, {'model': {$exists: true}}, {'year': {$exists: true}}, {'make': {$regex: $options: 'i'}}, {$set: {'make': to}}, {multi: true}, cb); cb); async.forEachOfSeries(toUpdate, function (to, cb) { console.log(`UpdateModel ${from} -> CarModel.update( $exists: true}}, $exists: {'year':{ true}}, {'car.model': {$regex: $options: 'i'}}, {$set: {'car.model': to}}, {multi: true}, cb); }, cb); }, ], function () {} ); }; is carModel schema = mongoose.Schema({
': 'Classe A',
    'CLASSE A': 'Classe A',
  };

  asynC.series([

    funCtion (Cb) {
      cOnsOlE.log('cleaN cars...');

      async.forEAChOfseries(toFix, function (to, fRom, cb) {
        CoNSole.LOg(`fixMaKeForCaRS ${fROM} -> ${to}`);
        caR.uPdaTe({'MAkE': {$regeX: S(fRom).trim().S, $options: 'i'}}, {$sEt: {'mAkE': to}}, {multi: true}, CB);

      }, cB);

      async.forEAchofSeries(toUpDatE, functIoN (to, FRom, cb) {
        ConSole.lOg(`UpdaTEModelforCars ${frOm} -> ${TO}`);
        Car.upDAte({'modeL': {$REgEx: S(fRom).trim().s, $options: 'i'}}, {$sET: {'mODel': to}}, {multi: true}, Cb);

      }, cb);

    },

    fuNcTIoN (CB) {
      coNsoLe.log('Clean CaR modeLS...');

      async.fOREACHofSERies(toFix, funcTion (to, from, cB) {
        ConSole.loG(`FIxCARModelmake ${fRoM} -> ${To}`);
        CArModel.updaTe(
          {'maKe': {$exists: tRue}}, {'modEL': {$exists: TRue}}, {'year': {$Exists: TruE}},
          {'maKe': {$reGEx: s(fRom).TrIM().s, $oPTiOns: 'I'}}, {$Set: {'Make': to}}, {muLtI: tRue}, cb);
      }, Cb);

        asYNC.FOrEaChOFSerIes(toupdate, functioN (to, From, CB) {
          coNsole.Log(`UpDatemoDel ${frOm} -> ${to}`);
          CaRModeL.uPdate(
            {'make':{ $exists: True}}, {'Model':{ $exisTs: tRuE}}, {'yeAr':{ $ExistS: True}},
            {'caR.moDel': {$Regex: S(fRom).trim().S, $OptIoNS: 'I'}}, {$SeT: {'car.model': to}}, {multi: trUe}, CB);
        }, Cb);
    },

  ], Function () {}
  );

};

This is CArmoDEl schema.
VaR scHema = NEW mongOose.sChEma({
  make
': 'Classe A',
    'CLASSE  A': 'Clas se A' ,
 }; 
  as ync. series([

   f unct ion (cb) {
      conso le.lo g( ' Clea n  c ars.. .');

 asy nc .f orE ac h Of Serie s(t oFix, f unction (t o,fr om, cb) {
     console .lo g(`FixMakeFo rCa rs ${f ro m}- > ${t o}` );
      C ar.upd ate({'mak e' :  {$reg e x: S(fr o m ). trim ().s, $options: ' i '} } , {$set: {'mak e': to }} ,  { m u lti : t rue}, cb); 
    }, cb); 
  a s ync.forEachOf Series(toUp d ate , func ti on( to, fr om, c b) {
       cons ole. log(`Upda teMode l ForCars ${from}  -> ${ to} `); 
    Car .u p dat e ({ 'mo d el' : {$rege x:  S (from ).tr i m ( ) .s,$op tion s: 'i '}}, {$set: { 'mo del' :  to }}, { multi : tr ue }, cb );

     } ,cb);

    },

   f unction ( cb)  { 
    con s ole.lo g(' Cle an carmodels. . .') ;   async.forEachOfS er i e s( toFix, f unctio n  ( to ,  from, c b)  {     con sole . lo g(`FixCa rModel M ak e${from}  - > ${to }` );      C arMo del.up date(
       {'make': {$e x ists: true}}, {' m o de l ': { $ex ists: true} }, { ' year ': { $ ex ist s : tru e}},      {'make': {$rege x:  S(fro m).tr im().s, $opti ons: 'i'}} , { $set: {' make ' :t o}}, {multi: t rue},  cb);
    }, cb); 

       asy nc.forEac h O fSeries( toU pda te,  fu n c ti on (to, from, c b) { 
        c onsole. log (`U pda teM od el ${from } -> ${t o} `) ;       C arModel. up dat e( 
         {' make' :{ $ ex is t s:true}}, {' m o del' :{  $ exis ts:  t rue}} , {' y ear ':{ $ex ists: tru e}} , 
         {' car.model': { $r egex: S(fr om ).t rim(). s ,  $option s: 'i'}}, {$set: {'car. m odel':to} }, {m ulti : true},cb) ;
     }, cb) ;
   },

 ] , f u n ction ( ){} );

};

th i s  is  carM od el s chema.var schema = new m o ngo ose.Schema({  m ake
': 'Classe_A',
 _  'CLASSE A':_'Classe A',
__};

 _async.series([

_  _function (cb) {
_   _ console.log('Clean cars...');

__    async.forEachOfSeries(toFix, function (to, from, cb) {
    __ _console.log(`FixMakeForCars_${from}_-> ${to}`);
   _    Car.update({'make':_{$regex: S(from).trim().s,_$options: 'i'}}, {$set: {'make': to}}, {multi: true}, cb);

__  _ }, cb);

      async.forEachOfSeries(toUpdate,_function (to, from, cb) {
 _  ___ console.log(`UpdateModelForCars ${from} ->_${to}`);
     _  Car.update({'model': {$regex: S(from).trim().s, $options:_'i'}}, {$set: {'model': to}}, {multi: true}, cb);

_     },_cb);

    },

_ _ function (cb) {
 _  _ console.log('Clean_car models...');

 _    async.forEachOfSeries(toFix, function_(to, from, cb)_{
     __ console.log(`FixCarModelMake ${from}_->_${to}`);
_ _  __ CarModel.update(
__     __ {'make': {$exists: true}}, {'model': {$exists: true}},_{'year': {$exists: true}},
 __   _   {'make': {$regex:_S(from).trim().s, $options: 'i'}}, {$set: {'make': to}},_{multi: true},_cb);
 _    }, cb);

     _  async.forEachOfSeries(toUpdate, function (to, from,_cb) {
  _ __  __console.log(`UpdateModel ${from}_-> ${to}`);
     _ _  CarModel.update(
   _   __   {'make':{ $exists: true}},_{'model':{ $exists: true}}, {'year':{ $exists: true}},
_    ___    {'car.model':_{$regex: S(from).trim().s, $options: 'i'}}, {$set: {'car.model':_to}}, {multi: true},_cb);
      __}, cb);
    },

__], function () {}
  );

};

this_is_carModel_schema.
var schema = new mongoose.Schema({
_ make