Update pm.php