Updated samples with newest version of the library