Put the cached update into a transaction to speed it up