updates config.json on install/upgrade of widget