some minor lib updates

no behavior changes, just cleanups