update dynamic page template