bugfix update trade