public static boolean updateProperty(String appId, String appConfigPath)
			throws IOException {
		Properties property = new Properties();
		InputStream is = null;
		OutputStream os = null;
		try {
			is = new FileInputStream(new File(appConfigPath));
			//is = PropertyHelper.class.getResourceAsStream(appConfigPath);
			property.load(is);
			property.setProperty("coala.application.name", appId);

			// should be set appName?
			os = new FileOutputStream(new File(appConfigPath));

			property.store(os, "already updated");

			return true;
		} finally {
			if (os != null) {
				os.close();
			}

			if (is != null) {
				is.close();
			}
		}
	}