state values changed on form1