add hash for pdo