updated search_tweets function