Update the string format of constriants.