Update SDK and sample app (v0.5.1)