change range constraints