fixing update an image