cartridge update script