[*] some database design
[+] table with lastmod timestamp
[+] universal method to UPDATE/INSRT data