Update pages.php