Updated search query in the database.