change credit card on appstore account

I got a new iphone recently. I'm sure I have downloaded apps to it but today I got an error message that " we need to verify your account because you are using a different device." I don't use the credit card number shown any more and want to enter a different card. I cannot find a way to do that from my phone. What do I do?
Open the iTunes Store App... scroll to the bottom, tap your AppleID... View Account... enter password... tap Payment Information...

Original thread: https://forums.imore.com/threads/change-credit-card-on-appstore-account.270702/