change the permutation