updates and binary_tree