Just use self.commit()