update the Log