prepare detail preview
update DetailPreview