def updateCard(self, index, question, answer):
        self._checkIndex(index)

        card = Card(index.internalId(), question, answer)
        self.cards.updateCard(card)

        # update data in the model
        self.emit(SIGNAL('dataChanged(QModelIndex)'), index)