Update permutation sequence