"templateId" from a blueprint is changing when modifying the blueprint

Hello everyone,

We have a feature in our app which allow the user in jira to select a confluence template or blueprint, and display it. It’s used later on to create a page from this template.
When testing I realized that when a user is modifying a blueprint, a template is created and the id of the blueprint in confluence changed.

I don’t understand why the id is changing, so if we could have an explanation on this behaviour it’ll be great.