deletes the old images from cloudinary.