modified commit txn