Make sure the DB is closed at exit, so we retain all updates
added updateall example