update template design