update preview [debug]