Update pte.php