add file and update.