Two-factor authentication problem

Two-factor authentication problem

I recently had my phone stolen and had to resort to a backup method to complete two factor authentication.   In my case, it would be an sms message.     The problem is that the phone number it was going to test is a very old phone number of mine.   when i iook in my profile, my current number is listed.   How do I change the number for two factor authentication, and why isn't it just using the phone number I've entered in my profile?