checking for duplicate sample entry. if found updates only the sources (origins)