How can I update the app handle slug URL in a TOML file?

I’m a newbie Shopify app dev. How do i update app handle from TOML file? In this doc https://shopify.dev/docs/apps/tools/cli/configuration#global mentioned an option “handle” at the same place with “name, client_id” but when I try add this option the result when run “npm run deploy” as below:

So, What schema structure for this option “handle” is correct?

It looks like handle only gets updated when you release a new version (after switching configs). I switched the handle, ran my production deployment, and the handle updated

With the Shopify CLI:

  • shopify app config use
    • select your production config, with the updated handle
  • shopify app deploy
    • updated handle now appears in the admin