updating the log