added delete option for upload