Syncing lxc profile changes to the running lxc containers

While an instance is running I would like to change its cgroups configuration and reset how many cpu.cores or memory I have setup for it. How can I sync these changes which are being updated through lxc’s profile?

I’ve changed category to LXD as you mentioned profiles which are not a part of LXC.

Can you give me a bit more context around what you are trying to do please?