added metadata model. saves hash of last update and prevents datadumps when there was no diff from previous dump