updated template and index content.