update constraints;