refresh the parent node in calculation, to prevent errors when one declare is shared between declare tree