switched to generic indexedDB insert