updating simple permutation test