Delete old data while new data is uploaded