new procedure to update the swap column after a swap homotopy