fix docs for ot.js "update" API change