card number validation logic update