change data format of deals