update template for CSS design