udate propertytree for casting