update documentation, fix indentations