updated permutation-sequence