With the new version of streamsql, it seems that update() was trying to delete the row for some reason, causing reference errors.  Not sure why, but using update() instead of put() here isn't necessary anyway (I believe it is a relic of a very early streamsql bug I was working around, or possibly me just not understanding streamsql).