update folder script