update docs and NAMESPACE