update docs; remove trailing whitespace