Updates for concluding transactions in index.js