Update parent after a node moving