added updatedRecord()