added checkForUpdates, fix docs