update image and spacing