updated libraries and made some changes for changed apis
fixed error in readme