update docs for refactor