Update the tree after pulling