Update for logging