Update files and delete unneeded