Update WidgetCreator.php