updated with text widget upgrade