manage add and remove event of collection