update dedup method