fixed folder update bug.