update structure for node.