fix arg condition: remove old nodes when update