update for stats package