How to set Link field value via entity metada wrapper? I'm using Link field.

I need to populate link field programmatically. Currently I'm using EMW a lot, so I'm wonder if it possible to set Link field value via EMW.
Try this code:

$node = node_load(nid);
$wrapper = entity_metadata_wrapper('node', $node);
$link = array(
  'url' =&gt; 'url',
  'title' =&gt; 'title',
  'attributes' =&gt; array()
);
$wrapper-&gt;field_link-&gt;set($link);
$wrapper-&gt;save();


Don't missing $wrapper->save();