Currently, we have a digest field that captures a hash digest of the update record's xml. The problem is that this is very fragile and could change based on stuff like whitespace or character encoding. h2. Solution Instead, store the hash digest of UpdateRecord's fields field along with the its UpdateCollections and UpdateCollectionPackages. using a detereministic The data structure we hash needs to be deterministic so something like an ordered dictionary. dictionary might work.