update file with deal