store nid on contact