update to image size