update to detail.txt