updating constraint values