fix autoupdate script listen issue