Update qm-connect.php