updated sdk and fixed samples 03, 05 and 21