Update permutation 2 (swap)