Update PrePostToTree