def update_fixed_order(self):
<EOL>fixed_order = self.ttree._fixed_order<EOL>self.ttree_fixed_order = None<EOL>self.ttree_fixed_idx = list(range(self.ttree.ntips))<EOL>if fixed_order:<EOL><INDENT>fixed_order = [<EOL>i for i in fixed_order if i in self.ttree.get_tip_labels()]<EOL>self.ttree._set_fixed_order(fixed_order)<EOL><DEDENT>else:<EOL><INDENT>self.ttree._fixed_idx = list(range(self.ttree.ntips))<EOL><DEDENT>
after pruning fixed order needs update to match new nnodes/ntips.