updated the template for stats