update files/directories