update the folder directory