修改state, schema->metadata