update method
Implementation
@override
Future<void> update(IDatabaseTable table, IDbUpdateDataMapper mapper) async {
if (db == null) return;
await db?.update(
table.name,
mapper.values,
where: 'id = ?',
whereArgs: [mapper.index],
);
}