update images in pre