update with new code of plugin wifi