update permutation tests for quantiles