Update method
Update Fuction For Update Item From Database
Implementation
@override
Future<void> Update(T item) async {
SqliteStorage.Actions.add(ActionModelStorage(action: () async {
var res = await query.GetById(table.primaryKeyGet(item));
await query.Update(item);
return res;
}, reverse: (e) async {
await query.Update(e);
}));
}