update pdo,helper class