Updating for logging