support multiple images and update example