See the following from https://support.apple.com/en-us/HT205583
While you can't change your card number or expiration date, it should update automatically when you get a new card. If your issuer doesn't support updates, you might need to remove the card, then add it again.