Update printPaths from Root to Leaf