update an delete files
deleting unnecesary files