pdating to nodes trees and links