updated library in demo applications