updated templates with the base_layout.