updates templates and style