const customer = await stripe.customers.update(
           customerDetails, // updated details of the customer like card number, address, name etc..,
           { 'source': token_id }, // latest token to update the older one
           function (err, customer) {
               if (err) {
                   console.log("StripeError: (update)", err);
               }
           }
);