Autosave edited and edited_by fields in Kirby 5

I am currently despairing of the following task: I would like to automatically save the edited_by (user ID) and edited (timestamp) fields with every save. At the completely ‘hidden’. So far (Kirby 4) this has worked well using a ‘page.update:after’ hook. In Kirby 5, however, this causes problems with multilingual setups. Content is lost with the 2nd language. What to do?

Without your hook code this will be hard to reply to. Please share it, so we can understand what you are doing.