Update permutation