update preview color