Update collection id in xml reader and saver