Updates widget generator and layout.