update transaction create method to create ledger entries as well