update the schema to the correct one