If the device is directly tied to the container, use lxc config edit CONTAINER-NAME.
If the device is inherited from a profile, then use lxc profile edit PROFILE-NAME.
In either case, you should see a “nic” device with the “parent” property pointing at that host device name. Update that to match the new name and you should be good to go.