update JSDoc comments