updates to Dtree