delete and upload new files