Update Main.form