Changes `deleteRecord` and `updateRecord` methods to use `uid` directly instead of calling `matchObject` method, this is more efficient.