update the files directory