updated sdk and fixed samples