Change primary key in model