Fixed bug with updating deal