Updating log.txt