In order for you to change the payment method for your Deutschland ticket, you need to go to your D-Ticket module and click on 'See more' then scroll down to 'Payment method' and proceed with the changes.

Then from next month on the subscription will be charged to the new card, and refunded to you with next month's payslip as usual.