modify the stats config