update and add file.