update to search prototype