replace invalidation with tag hash