Use Ledger::visitStateItems to implement OrderBookDB::update