updating styles for new template format