update_leaf_nodes! and update_path_texts!