<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def baseimage(self, new_image):
 """ change image of final stage FROM instruction """

        images = self.parent_images or [None]
        images[-1] = new_image
        self.parent_images = images