Revert "lib updates"

This reverts commit 8d569e988f2077456d0e987e4c4f01b5c4126588.