add model delete support into UploadHandler