update widget and template