Updates the images