updating form stuff