Patch for lightning media hook_updates if media type document and image is deleted