Updated refactoring doc