Update stats task.