change margins and update images in index