changed event handling at add and remove