Added a check to onUpdate to make sure we're updating a configured widget.