heading and footer template changes