update log.txt