Updating the template pages