Update form UI