update documentation and NAMESPACE