update to new api
nor reason to do this
we need to create schema fields before indexing