update preview mode