Fix cursor.update

Uncaught TypeError: Cannot read property '__idbObjectStore' of undefined
Also calling idbModules.Sca.encode(encoded) crashes, but it isn't needed because it is already encoded.

Also fixes timeout issue for #97