Update image_fetcher to handle the device input.