update documentation for version 2