update docs for instrument.js