update InOrder traversal class