Update strings permutation equality