update widget template and remove exit/enterEditMode