update resources.json & plugins.json