updated example 1 to use latest lib
updates main system to latest lib