shift api init to before update check
lower deauth task interval
replace old code
prevent some server hanging