code: function (invoiceitem, cb) {
  
  		Invoiceitem.findOrCreate(invoiceitem.id, invoiceitem)
  	    .exec(function (err, foundInvoiceitem){
  	      if (err) return cb(err);
  	      if (foundInvoiceitem.lastStripeEvent > invoiceitem.lastStripeEvent) return cb(null, foundInvoiceitem);
  	      if (foundInvoiceitem.lastStripeEvent == invoiceitem.lastStripeEvent) return Invoiceitem.afterStripeInvoiceitemUpdated(foundInvoiceitem, function(err, invoiceitem){ return cb(err, invoiceitem)});
  	      Invoiceitem.update(foundInvoiceitem.id, invoiceitem)
  	      .exec(function(err, updatedInvoiceitem){
  	      	if (err) return cb(err);
  	      	if (!updatedInvoiceitem) return cb(null,null);
  	      	Invoiceitem.afterStripeInvoiceitemUpdated(updatedInvoiceitem[0], function(err, invoiceitem){
  	      		cb(err, invoiceitem);
  	      	});
  	      });
  	    });
  	}
docs: Stripe Webhook invoiceitem.updated