trade_id added to statements for update.