The joke is a pun.  'Upping the ante' is to raise the stakes of a bet. 'Ante' can sound like 'aunty'. Any woman one of the uncles marries would become the nephew or niece's aunty.
My two uncles bet who would get married first . Then one upped the ante .