Update Swap Nodes in Pairs