updated permutations