primaryKey support for updateRecord