update comments, examples, and intercept.js