Update stats.