update image size2