public void update(){
		if(online)
			Data.launcherFrame.versionCombo.setModel(new DefaultComboBoxModel<String>(versionList));
		else
			Data.launcherFrame.versionCombo.setModel(new DefaultComboBoxModel<String>(new String[]{}));
		File fi = new File(Data.DEFAULT_DATA_FOLDER + "\\" + getName());
		fi.mkdirs();
		if(!configFile.exists()){
			try {
				configFile.createNewFile();
			} catch (IOException e1) {
				e1.printStackTrace();
			}
			YAMLFile dat = new YAMLFile(true);
			dat.addboolean("autoUpdate", true);
			dat.addString("version", "-");
			try {
				dat.Save(configFile);
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		
		YAMLFile dat = new YAMLFile(true);
		dat.Load(configFile);
		Data.launcherFrame.autoUpdate.setSelected(dat.getboolean("autoUpdate"));
		Data.launcherFrame.versionCombo.setEnabled(!dat.getboolean("autoUpdate"));
		
		if(!online)
			Data.launcherFrame.versionCombo.addItem(dat.getString("version"));
		Data.launcherFrame.versionCombo.setSelectedItem(dat.getString("version"));
	}