update dtree prototype