update CustomWidget