def update(self, **kwargs) -> 'Permission': return Permission.from_db(db.update_perm(self.id, **kwargs))