add delete ledger entry function