Visit your account page.

There should be a link under 'Payment Information' which will allow you to update your card details.

If you cannot see a link, you will need to update your card details on the PayPal website. Card details can be found by logging in and following the menu items My Account > Profile > My Money.