Update frmMain by separate code, minor change in this class