Fix Repo.update when primary key field is in custom location
Repo.update and Repo.delete should fail when affected records != 1