reworking update.checkUpdates, adding js with user interactions