update code according changes in OnyxAndroidSDK