update for new lib