Updating library and fixing running on device issues.