updated library and headers