Update the definition of the widget after changing/updating the widget. This way Mendix can show the new/edited properties in the widget xml file.