Adding updateStatus logic to PDO driver