Update logfile