Better graph updating.