updated library
Fixed null pointer in native