InstanceDefinitionTableEvent

I am developing a plugin for Grasshopper. The plugin is designed to:
If a curve within that block is edited, changes should be applied from the block’s class constructor to the curve but When using events like InstanceDefinitionTableEventArgs or RhinoReplaceObjectEventArgs, the information received by my methods is outdated. Specifically, it reflects the state of the curve before it was edited.