update styles, template and content