As a general comment, `insert` is better than `update` in this kind of situation, because there is an implicit `reset` as part of an `insert`.  This `update` call leaves the cursor positioned, which can cause performance problems with a small cache or lots of threads.