update merge_data()