updates documentation. fixes syntax error.