updated the logfile