Update lpages.php