Added DG events for NodeAdded/ NodeRemoved

and fixed a bug on line 202