updates JSON file to contain all classes