updating all paring constraints