Modify an image component from pycelonis


How could I modify the image displayed in an image component using pycelonis?

I found how to upload an image using create_image_upload().
How can I apply this new image to an existing image compenent? (replace the displayed image by this file)

Thank you so much in avance