update constrants