How remove old domains in application menu

after I install fedora-38 template and remove fedora-36 template
I still see qubes-vm-directory-fedora-36-dvm

the question are I was upgrade fedora template using correct way?

It’s disposable template that was based on fedora-36 template, you can just switch its template to new fedora-38 template: