Fix autoupdate when running