- index all entities with their index - use a lookup table to go from key -> id and then lookup again to get the latest of each - update latest registration subquery in find-domains