updated the size of images