private static void doUpdate() throws Exception
	{
		/* Remove preferences file (get rid of the provider word) */
		(new File("prefs.dat")).delete();
		/* Modify Intermarche file (get rid of the provider word) */
		String InterName = (new Intermarche()).getName();
		LookAheadIS in = null;
		OutputStream out = null;
		try {
			in = new LookAheadIS(new BufferedInputStream(new FileInputStream(InterName + ".dat")), 10);
			out = new BufferedOutputStream(new FileOutputStream(InterName + "_TMP.dat"));
			byte[] myStart = ("providerID").getBytes();
			while (!in.atEnd())
			{
				if (in.startsWith(myStart))
				{
					in.skip(10);
					out.write(("supplierID").getBytes());
				} else {
					out.write(in.read());
				}
			}
		} finally {
			if (out != null) out.close();
			if (in != null) in.close();
		}
		(new File(InterName + ".dat")).renameTo(new File(InterName + "_OLD.dat"));
		(new File(InterName + "_TMP.dat")).renameTo(new File(InterName + ".dat"));
		/* Update AutoAppro.jar */
		(new File("AutoAppro.jar")).delete();
		HTTPDownload.download(AutoAppro.AutoAppro.UPDATE_URL + "AutoAppro.jar", "AutoAppro.jar");
	}