update form to allow nested Inputs