add page types and change line heigh for paragraph
update template