update/remove checks if related tab is within our tree