a bug fix for updating pairings