fixed a copy/paste error in the autoupdate code :(