update to new lib