updated dark lib