website paging and template update