update image download procedure