After copy pasting addModelChangedListener is not calling?

After Copy and Pasting Object addModelChangedListener is not working. because of that tree view is not updating. but after refreshing diagram the tree view is working properly.i dont know why it is not calling. can u help me.

First, are you using the debug library and checking the console window for errors and warnings?

I have never heard of a listener not being called when it should be. Can you provide us with a reproducible test case?