update dr.txt; format code