update image download and processing