update dom/children to use node.children