edited Merge_api