update database test cases