                         let t = (0..<self.dataSource.count).map {
                             IndexPath(item: $0, section: 0)
                         }
-                        self.collectionView.insertItems(at: Set(t))
+                        self.collectionView.animator().insertItems(at: Set(t))
                     }, completionHandler: { b in
                         group.animate(duration: 0.5)
                         self.collectionView.animator().scrollToItems(at: [self.collectionView.indexPathForLastItem()],

                let idxs = (0..<(self.dataSource.count - count)).map {
                    IndexPath(item: $0, section: 0)
                }
                self.collectionView.insertItems(at: Set(idxs))
                self.updateToken = false
            }
        }

            
            self.dataSource.insert(event)
            self.collectionView.performBatchUpdates({
                self.collectionView.animator().insertItems(at: [IndexPath(item: self.dataSource.count - 1, section: 0)])
            }, completionHandler: { b in
                guard shouldScroll else { return }
                self.collectionView.animator().scrollToItems(at: [self.collectionView.indexPathForLastItem()],
