updating process of finding last saved ledger