update stats file output