modify used.txt file