Wallets usually don't store the card information directly anyway, but only a token, which can be re-associated with new underlying card details when the card is replaced.
The token itself does also have an expiry date (it's a mandatory field in most protocols), but that can be updated as well, I believe.