Update pTree.py