updated custom search feature