update load sentence.txt code