updated SDK and fixed samples