Update for statistics