update sizing of images