update tcplot and quantiles for permute