update template for ressource html view with some data and pagination