updating the template for a single page