update wordcount example