update of constrains