Hi,
Changing the username(samaccountname) doesn't change the profile name in windows. Since the SID is the same. the profile will automatically mapped with the new login authentication without any changes to the profile.
you need to manually update the profiles. Like take backup and rename/delete the existing profile and let AD login create new one. Then copy the backed up data.
ensure the profile path is not depended on application installation or any other components.