I\'m creating a stored procedure that adds a tree, inserts nodes into that tree and then updates the nodes to include the parent id. I\'m updating the nodes to include the p