update preview interface