updating docs and cleanup