Fix clobbering of amount when updating a transfer