fixed samples and updated SDK