modify resource.txt