def replace_items(self, new_items):
        with self._group_lock:
            self._members.clear()
            self.data.members.clear()
            self._members = new_items
            self.data.members = [i.data for i in new_items]