break out deletion and upload