If the unique field MAC is already used, update the record instead