update images and picture element