Future<void> update(String id, T updates) async { final response = await _harnCollection.update(id, updates.toMap()); harnLog.register({"update": updates}); return response; }