main page template update