added buffered updating records during deduplication