update database tests