added find record and update test case