Implemented modify for widgets