update form panel