# Issue with VTK functions

**URL:** https://discourse.vtk.org/t/issue-with-vtk-functions/3568
**Category:** Support
**Created:** [June 16, 2020, 12:25pm UTC](https://discourse.vtk.org/t/issue-with-vtk-functions/3568 "2020-06-16T12:25:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Shahd\_Alshahrani](https://discourse.vtk.org/user_avatar/discourse.vtk.org/shahd_alshahrani/32/1985_2.png) [@Shahd\_Alshahrani](https://discourse.vtk.org/u/Shahd_Alshahrani)
#### Post date: [June 16, 2020, 12:25pm UTC](https://discourse.vtk.org/t/issue-with-vtk-functions/3568/1 "2020-06-16T12:25:52Z")

</div>

I have an issue with some VTK related functions which is based on previous versions of VTK.  
For example,  
img\_data.Update()

img\_shape = img\_data.GetWholeExtent()

These functions are not defined in current versions of VTK. How can I replace them? or is there a workaround for this issue?
