updated search to include texts