Update Cartridge.java