fixing a bug while update the deal information