update preview page