change ledger column to ledger_hash