add widget and update widget action