Need to remove observefield

I have an interface (contentnode) and it has a call back function. I need to change a field (ID). But whenever I am changing the id the call back function is calling. How can I stop calling the callback function? I have tried unobservefield and then set the ID field and again observe back. But it is not working.

Did you check the return value of unobservefield? Perhaps that call is failing.