update for lib