updates datomic stuff, zips up results in a map