updates index as table span for firefox