set the pdo in the registry