Updates some form elements.