minor changes and add call to update vm_mdata_ip after service restart