Change update activity to PDO.