update preview page better