Update widget

I have defined a widget here, and when changes are made, I call update() to show the latest changes, but this will refresh the entire widget, causing some of the styles I defined above to be re-rendered. How do I not refresh the entire widget, but only the parts I need to respond to

@kingkiller it depends on how you implemented your widget, but I believe you can implement onUpdateRequest to handle how exactly you want to update your widget (only the parts you require).