update documentation and comments.