update reverse nodes in k group solution