main Form update