public void Update(int index, int length, IList <IPlayItem> newItems) { for (int i = 0; i < length; i++) { _playItems.RemoveAt(index); } for (int i = newItems.Count - 1; i >= 0; i--) { _playItems.Insert(index, newItems[i]); } }