Automatically edit a note's content on change


coming from Obsidian, I’m using YAML frontmatter at the top of each of my notes. I have a “date created” and a “date modified” tag there. Having a “date created” tag in logseq is implemented fairly easily since I can simply use a dynamic variable (<% today %>) when I create a new note from a template.
‘date modified’ however is much more complicated because as far as I know there is no event that I can use to automatically edit the metadata (or anything else for that matter) of the document once a change is detected in the note.

However, I do think that this is an extremely useful feature. By automatically adding a link to my daily note in “date modified” I can easily see which notes I worked on by looking at the linked references for a given day.

I would love to see that added to logseq.