edit constraints