insert and edit voucher