How to update Ghost Portainer Stack and Cloudflare Tunnels for AP?

There’s a similar topic here that may have useful information Upgrade from 5 to 6 using Portainer