update template for service