primary key schema update