Question: how to change the name of xbox account?
Answer: To get the name to update quickly, you can switch to your local account, then sign back in to your Microsoft account. The display name doesn't change your gamertag. If you want a new gamertag, see How to change your Xbox gamertag.