update documentation and cli