Update transfer_lib.js