update PDO class