implement update single for IndexedDB