update lib with the latest fixes