How do I reload entire widget with dynamic configuration?

Hi,
we have shipping app where we can allow user to track their orders within the app, so I would like to know how can I use or best practice for use to track their order in widget? Also how do I handle following scenarios
  1. How to allow user to select list of dynamic orders(may id be ids) from remote server or is it good idea/any suggestion?

  2. What if user made new purchase in app and how do I refresh whole widget including updating list of track orders(ids) for dynamic configuration? Does intenthandler will be called to load from network?

  3. How to handle or best practice to show widget content when user log out, authentication error?

  4. How to handle/best practice for widget content when there is network error to load content?

Thanks
How do I reload entire widget with dynamic configuration?
 
 
Q