delete and upload