update use of schemaFor