Update example to work only with PDO