added callback on addone and removeone