rename addEntryMergeEntry with duplicateEntry for clarity