update to search by text