Kane Williamson's unbeaten 106 while chasing a stiff target of 242 set by South Africa at Edgbaston in Birmingham turned out to be a match winning knock as New Zealand managed to upstage Proteas comprehensively in the end to go top on the points table.