changed unique constraints