The answer you posted seems to work well for me assuming your MacAddress is a primary key in your table.
insert or replace into yourtable (macaddress, name)
values ('1C-6F-65-C6-20-0B', 'Logan-PC');
insert or replace into yourtable (macaddress, name)
values ('1C-6F-65-C6-20-0B', 'Logan-PC-Updated');
This will result in a single row, with Logan-PC-Updated as the updated name.
NOTE: If your MacAddress is not your primary key, then this method will not work.