Change the path of extent.