Click on your avatar at the top right of the page, then click My Settings.
Click Payment.
Click Update Card.
Enter the details of the card you want to use for future donations.
Click Submit.
Your new card details will be used for any future donations, including recurring donations previously set up.