Updated the dynamic library wrapper