Update qpt.php