Update style for preview