library update (smaller)