Fix and Update PDO Class