Update database test case