Amend device configs when renaming.