update the amounts if traded, prior to insert