typo in letting pairwise_type switch when updating_new_params