update database tests.