update order statistic