add file and update