The update script generates an auditlog when no changes are needed. When action is 'NoChanges' then $outputContext.Data and $outputContext.PreviousData should output the same result.