modified changePage entry according to the new template