update remove_duplication