updates constraints
updates constraints