update in order and post order traversal