Update documentation according to jsdoc