[weatherplugin] update code