update so load on empty indexeddb works