Update: widget function

Signed-off-by: ayamada0614 <ayamada0614@yahoo.co.jp>