updated previews logic