In the same pan, add 1/2 butter, once melted, add remaining onions and stir fry until translucent, add flour and mix well, until the flour starts smelling aromatic, about 2-3 minutes, turn heat to low and add milk and stock, stirring constantly until slightly thickened, turn heat off, stir in half the cheese, seasoning and continue stirring until well incorporated, check seasoning.