update Swap Nodes in Pairs