They started the second half on a 9-0 run to turn a two-point lead into a 39-28 advantage and withstood a late push by the Boilermakers (15-17) to come away with a surprising victory.
It was 54-53 after Purdue's D.J. Byrd made a 3-pointer with 40 seconds left. Nebraska's Ray Gallegos then made the first free throw and missed the second, but the Cornhuskers recovered the ball.
Ubel then hit the second foul shot after missing the first to make it 56-53 with 28.6 seconds left. Byrd put back a missed 3 by Ronnie Johnson to pull Purdue within one with 13 seconds left.
Gallegos then made 1 of 2 free throws to make it a two-point game. Purdue had one last chance but Johnson missed two shots in the lane and Gallegos grabbed the rebound to secure the win.