Update visitor now that nodes.typed does not mutate values