refactoring refresh folder