added the primary key to the model attributes