added autoupdate support