update the docs after the refactor