update form element