Future<bool> updateBox(String id, T item) async { try { await _box.put(id, item); return true; } catch (e) { throw HiveException.update(e).debugPrint; } }