If someone makes a mistake, they reset everything to the previous records.
He will not have old and new.
Logically, the module does what the requester requested. For others, it's a demonstration of how to do it.
I assume that you will make your own solution in your module 😉