update logoff method
update widget