update document command handlers jsdoc