Update buggy and ineffient unique word checker