update template for grammatip