"saveMeta" in a Creator Extension can be used to override meta file

Hi,
I’m playing creating an extension and I think is nice the way extension work.
But I have problems trying to make persistent changes made on meta-file. Every time I save the file it is overridden by the editor I suppose

Could someone give an idea of how it works or point to me on what I’m doing work?

The code below is called from a menu click

{
    const id = 'a56f26a7-345d-4ef8-8d32-a04a05464c03'
    const currentMetadata = Editor.assetdb.loadMetaByUuid(id);

    const data = {
          "uuid": currentMetadata.id,
          "ver": "1.0.1",
          "type": "Texture Packer"// dummy property for testing
     }
    result = await assetdbsaveMetaAsync(id, JSON.stringify(data));
}
...
function assetdbsaveMetaAsync(uuid, jsonString) {
  return new Promise(function (resolve, reject) {
    Editor.assetdb.saveMeta(uuid, jsonString, (err, meta) => {
      if (err) {
        reject(err);
      }
      resolve(meta);
    });
  });
}

Thank you in advance for any help