How to update folder tree