Added half the folder update code