update docs, fix syntax errors