updated library with latests changes