update image with smaller size