update two files