Update form elements