update solution for Permutation Sequence