update constraints 2