updating form pointer