improved autoupdate