update Deal API