updated the schema search handler