Fix bugs of tracking parent when update left or right child