Minor nitpick: since we're assuming that mapping paths are immutable, we should only need to update hits when we create mappings, and not when we update mappings.