update how to do a widget documentation