update and regroup Unique_Binary_Search_Trees