updated to latest version of libraries with several fixes