How to update DJI UX SDK Widgets

I followed the waypoint example in DJI docs and then implemented the DJI UX SDK with it successfully. But, I am unable to access the widgets to update the Aircraft State information like altitude, speed etc in the DJI UX SDK. How do I access the DJI UX Dock View widgets to update the state information?