Update StringCosineComparator