Update log file