delete upload dir from index