add configure method to docs and fix typo