Update plugin.sml for ios