updated to FIX update funcs with PDO
updated to fix pdo and phpmailer inclusion