remove primary key from schema when update