updating tempalte to reflect changes in use of divs