update luhn algorithm