update image to be smaller