updated documentation on widgets.md