modify merge_data