Update Pages.php