Before making such a major change....and it is a major change since it is under the "Advanced" features button, you should always make sure to have a good backup prior to any major changes just in case something goes wrong. It is usually best to research how to use options located under Advanced sections since they may not work like you may think....this is one great example.
Here is an Apple article with instructions for changing the short user name of a macOS user account. Every step must be followed exactly or there will be problems. I hope you have another admin user account available on this Mac, because you will need it to follow the instructions in that Apple article because your current user is most likely no longer an "admin" user.
Change the name of your macOS user account and home folder - Apple Support