def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def on_fuzzing_range_start_changed(self, value: int):
        self.ui.sBAddRangeEnd.setMinimum(value)
        self.ui.sBAddRangeStep.setMaximum(self.ui.sBAddRangeEnd.value() - value)