Wrote Tree::updateKeys() method