Update SDK and fix compile errors due to changes in the SDK public API

Merged Andrea Gianarda requested to merge fix/update_sdk into master

Merge request reports