update documentation for class