Making changes to an existing scheduled task will not be reflected on the published image. Adding a version to the layer shows the old values and not the changes.
This behavior is expected, but it can be disabled for app layers where modifying a Scheduled Task is needed. It is not recommended to add this key to your OS layer.
Please run the following from an administrator command prompt:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Unidesk\ULayer /v DisableScheduledTasksScrubOnFinalize /t REG_DWORD /d 1
Restricting changes to existing schedule tasks corrects an issue seen with Windows Defender updates.