To update an existing query, click on “Edit Query” (or enter the query profile)

Now, make your changes, and then click “Save.”

This will create a new version of the query.
At the top of the code box, you’ll see who created the version and when. This provides information about each version, allowing you to manage all versions, including adding collaborative notes, viewing and comparing differences between versions, and selecting the version you want to work with.