update test case in insert data into database