fixes, now updates callback correctly when adding new tabs (that already exist)