fixing autoupdate

to run in background