def update_priority(self, tree_idx_list, priority_list):
for tree_idx, priority, segment_tree in zip(tree_idx_list, priority_list, self.segment_trees):<EOL><INDENT>segment_tree.update(tree_idx, priority)<EOL><DEDENT>
Update priorities of the elements in the tree