Update variables via a form.