update the images of components