updated documentation generation