change unique constraint settings