system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] Where do new spells come from?

I remember in one of the books it said that you had to get a new spell approved through the ministry or something but I don’t remember the details.

When a new spell is made, is there a memo that goes out to all wizards/witches? Do they have to “update” their wands somehow or does it just work on all wands after approval?
gpt
Wizards experiment through trial and error to form new spells often using Latin root words related to their desired effects to produce a result. It's a dangerous practice that can end in death e.g. Mrs.Lovegood.

Wizards may publish their new spells in periodicals or via their own published spellbook. Some, such as Snape, may keep them a secret just for themselves. 

Wands don't need to be programmed. If you know the words, wave and have the skill you can cast it.