config changes
[SG] - code to filter events and persist only the latest events based on the lastSyncedDateTime