update preview layout and styling