Up to date catalog script

How can I make a catalog system that has all the items from the actual catalog, and that It can update If there’s a new accessory added?