Update allocator in bst