updated the docs, bugfixes