update for Unique Binary Search Trees