updated library documentation