Added update for permutations