update sw with score for each word