update merge_sort