update the stop word list and remove message duplicates