update folder and contents